import { createRouter, createWebHistory } from 'vue-router'
import myView from '@/views/home/my.vue'
import loginView from '@/views/login/index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/my', name: 'my', component: myView, },
    { path: '/login', name: 'login', component: loginView, },
  ],
})

export default router
